package com.ruoyi.system.bean.dto;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import org.springframework.lang.NonNull;

import javax.validation.constraints.NotBlank;

@Data
public class WeightUserLoginDto {

    private static final long serialVersionUID = 1L;

    /**
     * 用户姓名
     */
    @NotBlank(message = "用户姓名不能为空")
    @Excel(name = "用户姓名", cellType = Excel.ColumnType.STRING)
    private String userName;

    /**
     * 用户密码
     */
    @NotBlank(message = "用户密码不能为空")
    @Excel(name = "用户密码", cellType = Excel.ColumnType.STRING)
    private String userPassword;

    private String userPhone;
}
